package com.itfreer.map.commn.data;

import com.itfreer.gis.offline.base.OfflineDataBase;
import com.itfreer.map.AppDatabaseHelper;
import com.itfreer.map.commn.data.entity.CommonPyEntity;

public class CPyOfflineData extends OfflineDataBase<CommonPyEntity> {

    public CPyOfflineData() {
        super(AppDatabaseHelper.getInstance(), CommonPyEntity.class);
    }

    /**
     * 获取ID字段
     *
     * @return
     */
    public String getIDFiled() {
        return "s_id";
    }

    /**
     * 获取Geom字段
     *
     * @return
     */
    public String getGeomField() {
        return "geom";
    }

    @Override
    public String getTableName() {
        return "fm_common_py";
    }
}
